@mixin hook-card() { color: #000; }

@mixin hook-base-body() {

}

//common
@mixin hook-base-link() {
  text-decoration: none;
}
@mixin hook-base-link-hover() {
  text-decoration: none;
}

@mixin hook-base-heading() {
  color: inherit;
}

@mixin hook-text-large() {
  font-size: 1.8rem;
}

@mixin hook-tab-item() {
  font-size: 1.4rem;
  padding: 8px 10px;
}

@mixin hook-dropdown-nav() {
  font-size: 1.4rem;
}

*, :after, :before {
  box-sizing: border-box;
}

.uk-dimmer-active {
  overflow: hidden;
}

.uk-button.uk-button-success {
  background: $global-success-background;
  color: #fff;
  border: 1px solid transparent;
}


//notification
@mixin hook-notification-message-success() {
  background: $global-success-background;
  color: #fff;
}
@mixin hook-notification-warning-success() {
  background: $global-warning-background;
  color: #fff;
}
@mixin hook-notification-danger-success() {
  background: $global-danger-background;
  color: #fff;
}
@mixin hook-notification-close() {
  color: #fff;
}
//form

.uk-form-inline {
  display: flex;
  .uk-form-group {
    margin-right: 1rem;
    margin-bottom: 0 !important;
  }
}


.uk-form {
  input[type="text"],
  input[type="password"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="date"],
  input[type="month"],
  input[type="time"],
  input[type="week"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="search"],
  input[type="tel"],
  input[type="color"] {
    @extend .uk-input;
  }
  input[type=radio] {
    @extend .uk-radio;
  }
  input[type=checkbox] {
    @extend .uk-checkbox;
  }
  select {
    @extend .uk-select;
  }
  fieldset {
    @extend .uk-fieldset;
  }
  textarea {
    @extend .uk-textarea;
    resize: vertical;
  }

  .uk-form-alert {
    margin-top: 5px;
  }

  .uk-form-help {
    margin-top: 5px;
    color: #999;
  }

}

.uk-form-group-error {
  color: $global-danger-background;
  .uk-form-label {
    color: $global-danger-background;
  }
}

.uk-form-group-success {
  color: $global-success-background;
  .uk-form-label {
    color: $global-success-background;
  }
}

.uk-form {
  .uk-form-group {
    margin-bottom: 1.5rem;
  }
}

.uk-form-title {
  padding: 5px 10px;
  color: #999;
}

@mixin hook-form-label() {
  font-size: 1.4rem;
}

.uk-form-controls-text {
  min-height: 30px;
}

input[type=number].uk-form-field, input[type=search].uk-form-field, input[type=text].uk-form-field, input[type=password].uk-form-field, input[type=datetime].uk-form-field, input[type=datetime-local].uk-form-field, input[type=date].uk-form-field, input[type=month].uk-form-field, input[type=time].uk-form-field, input[type=week].uk-form-field, input[type=email].uk-form-field, input[type=url].uk-form-field, input[type=tel].uk-form-field, input[type=color].uk-form-field {
  @extend .uk-input;
}

input[type=radio].uk-form-field {
  @extend .uk-radio;
}
input[type=checkbox].uk-form-field {
  @extend .uk-checkbox;
}

select.uk-form-field {
  @extend .uk-select;
}

textarea.uk-form-field {
  @extend .uk-textarea;
  resize: vertical;
}

input[type=datetime-local].uk-form-field {
  line-height: 40px !important;
}

.uk-form-danger, .uk-form-danger:focus {
  color: $global-danger-background !important;
  border-color: $global-danger-background !important;
}

.uk-form-success, .uk-form-success:focus {
  color: $global-success-background !important;
  border-color: $global-success-background !important;
}


.uk-input-group {
  display: flex;
        position: relative;
        width: 100%;
        & > * {
            border: 1px solid #e5e5e5 !important;
            border-right: 0 !important;
            &:last-child {
                border-right: 1px solid #e5e5e5 !important;
            }
        }
        .uk-form-field {
            flex: 1;
            &:focus,&:active,&:hover {
                border-color: #e5e5e5;
            }
        }
        .uk-input-group-label {
            margin: 0;
            border-radius: 0;
            overflow: visible;
            font: inherit;
            text-transform: none;
            box-sizing: border-box;
            padding: 0 15px;
            vertical-align: middle;
            font-size: 1.4rem;
            line-height: 38px;
            text-align: center;
            text-decoration: none;
            background-color: transparent;
            color: #333;
            white-space : nowrap;

        }
        .uk-input-group-btn {
            position: relative;
            white-space : nowrap;
            display: flex;
            .uk-button {
                position: relative;
                border: none;
                &:focus,&:active,&:hover {
                    border-color: #e5e5e5;
                }
            }

        }
}



@mixin hook-button-default() {
  background-color: #ffffff;
  border: 1px solid #dddddd;
}
@mixin hook-button-disabled() {
  background-color: #f5f5f5;
  border: 1px solid #dddddd;
  color: rgba($button-disabled-color, .8);

}

@mixin hook-button-large() {
  font-size: 1.6rem;

}

@mixin hook-button() {
  font-size: 1.4rem;
}

.uk-button.uk-button-block {
  display: block;
  width: 100%;
}

.uk-image-thumbnail {
  border: 1px solid #eee;
  padding: 2px;
  max-width: 100%;
  height: auto;
}


@media print {
  .uk-print-hide {
    display: none !important
  }
}

